package com.onedec.attendance.dao;

import com.onedec.attendance.entity.OnedecAttendance;
import com.onedec.attendance.entity.OnedecAttendanceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecAttendanceDao {
    long countByExample(OnedecAttendanceExample example);

    int deleteByExample(OnedecAttendanceExample example);

    int deleteByPrimaryKey(Integer attId);

    int insert(OnedecAttendance record);

    int insertSelective(OnedecAttendance record);

    List<OnedecAttendance> selectByExample(OnedecAttendanceExample example);

    OnedecAttendance selectByPrimaryKey(Integer attId);

    int updateByExampleSelective(@Param("record") OnedecAttendance record, @Param("example") OnedecAttendanceExample example);

    int updateByExample(@Param("record") OnedecAttendance record, @Param("example") OnedecAttendanceExample example);

    int updateByPrimaryKeySelective(OnedecAttendance record);

    int updateByPrimaryKey(OnedecAttendance record);
}